
SECRET_KEY = '6e64bf7f-6502-4588'

HOSTNAME = "127.0.0.1"
PORT = 3306
USERNAME = "root"
PASSWORD = "root"
DATA_BASE = "database_qa"
DB_URI= f"mysql+pymysql://{USERNAME}:{PASSWORD}@{HOSTNAME}:{PORT}/{DATA_BASE}?charset=utf8mb4"

SQLALCHEMY_DATABASE_URI = DB_URI


# EMAIL config
MAIL_SERVER = "smtp.sina.com"
MAIL_USE_SSL = True
MAIL_PORT = 465
MAIL_USERNAME = "leslie43@sina.com"
MAIL_PASSWORD = "b1d59de3cdc3fdd4"
MAIL_DEFAULT_SENDER = "leslie43@sina.com"
